html,
body {
    width: 100%;
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

/* 页头 */
#header {
    height: 1.87rem;
    background-color: #e94645;
}

/* 主体 */
#main {
    flex: 1;
    /* 超出出现滚动条 */
    overflow: auto;
    height: 9.5rem;
    background-color: #efeff4;
}

/* 页脚 */
#footer {
    height: 1.05rem;
    background-color: #fff;
}

/* 页头 */
#header {
    height: 1.87rem;
    padding: 0.1rem 0 0.35rem 0.3rem;
}

#header li:nth-of-type(1) {
    display: flex;
    justify-content: space-between;
}

#header li:nth-of-type(1) a span {
    color: #fff;
    font-size: 0.4rem;
}

#header li .icon-shouye1 {
    margin-right: 0.25rem;
}

#header .log {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 0.98rem;
    margin-top: 0.48rem;
}

#header .log div:nth-child(1) {
    line-height: 0.98rem;
}

#header .log img {
    width: 0.96rem;
    height: 0.96rem;
    border-radius: 50%;
    margin-right: 0.2rem;
}

#header .log .log_a {
    margin-right: 0.47rem;
    color: #fff;
    font-size: 0.32rem;
}

#header .log a:nth-of-type(2) {
    color: #fff;
    font-size: 0.32rem;
}

#header .log div:nth-child(2) {
    width: 1.95rem;
    height: 0.5rem;
    border-radius: 0.25rem 0 0 0.25rem;
    background: linear-gradient(#fb4f60, #f4695e);
    text-align: center;
    line-height: 0.5rem;
}

#header .log div:nth-child(2) a {
    color: #fff;
    font-size: 0.26rem;
}

/* 我的订单 */
#order {
    height: 2.5rem;
    padding: 0 0.2rem;
    margin-bottom: 0.2rem;
    background-color: #fff;
}

.common div:nth-child(1) {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 0.9rem;
    border-bottom: 0.01rem solid #e6e6e6;
}

.common div:nth-child(1) a:nth-child(1) {
    color: #333333;
    font-size: 0.3rem;
}

.common div:nth-child(1) a:nth-child(1) span {
    color: #e94544;
    font-size: 0.3rem;
}

.common div:nth-child(1) a:nth-child(2) {
    color: #a3a3a3;
    font-size: 0.24rem;
}

.common ul {
    height: 1.6rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.common li {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 1rem;
    height: 0.9rem;
}

.common li span {
    color: #636363;
    font-size: 0.42rem;
}

.common li a {
    color: #333333;
    font-size: 0.25rem;
}

/* 常用工具 */
#tool {
    height: 4rem;
    background-color: #fff;
}

#tool .tool_ad span {
    color: #fa7362;
}

#tool .tool_ser span {
    color: #4bb0ef;
}

/* 页脚 */
#footer {
    border-top: 0.01rem solid #dddddd;
    box-shadow: 0.03rem 0.03rem 0.03rem #ccc;
}

#footer ul {
    height: 1.05rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
    color: #7f8389;
}

#footer li:hover {
    color: #e94645;
}

#footer li div {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

#footer li div:nth-child(1) span {
    font-size: 0.42rem;
}

#footer li div:nth-child(2) a {
    color: #7f8389;
    font-size: 0.2rem;
}

#footer li div:nth-child(2) a:hover {
    color: #e94645;
}

a:hover {
    color: #e94645 !important;
}